package com.ytjj.bigdata.controller;

import com.ytjj.bigdata.model.dto.AdsAppOperateDto;
import com.ytjj.bigdata.service.AdsAppOperateService;
import com.ytjj.common.api.CommonResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/adsAppOperate")
public class AdsAppOperateController {

    @Resource
    private AdsAppOperateService adsAppOperateService;

    @PostMapping("/selectAdsAppOperate")
    public CommonResult selectAdsAppOperate(@RequestBody AdsAppOperateDto adsAppOperateDto) {
        return CommonResult.success(adsAppOperateService.selectAdsAppOperate(adsAppOperateDto));
    }
}
